package com.yao.ecommerce;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * <h1>用户账户微服务启动入口</h1>
 * 127.0.0.1:8003/ecommerce-account-service/swagger-ui.html
 * 127.0.0.1:8003/ecommerce-account-service/doc.html
 * */
@EnableSwagger2
@EnableJpaAuditing
@SpringBootApplication
//        (scanBasePackages = {"com.yao.ecommerce.conf", "com.yao.ecommerce.*"})
@EnableDiscoveryClient
public class AccountApplication {

    public static void main(String[] args) {

        SpringApplication.run(AccountApplication.class, args);
    }
}
